package hibernate_model;

import java.util.Date;

/**
 * Photo entity. @author MyEclipse Persistence Tools
 */

public class Photo implements java.io.Serializable {

	// Fields

	private Integer photoId;
	private Integer photoOwner;
	private String photoUrl;
	private String photoAddress;
	private Date photoDate;
	private Integer photoNegativeCom;
	private Integer photoActiveCom;

	// Constructors

	/** default constructor */
	public Photo() {
	}

	/** minimal constructor */
	public Photo(Integer photoOwner) {
		this.photoOwner = photoOwner;
	}

	/** full constructor */
	public Photo(Integer photoOwner, String photoUrl, String photoAddress,
			Date photoDate, Integer photoNegativeCom, Integer photoActiveCom) {
		this.photoOwner = photoOwner;
		this.photoUrl = photoUrl;
		this.photoAddress = photoAddress;
		this.photoDate = photoDate;
		this.photoNegativeCom = photoNegativeCom;
		this.photoActiveCom = photoActiveCom;
	}

	// Property accessors

	public Integer getPhotoId() {
		return this.photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public Integer getPhotoOwner() {
		return this.photoOwner;
	}

	public void setPhotoOwner(Integer photoOwner) {
		this.photoOwner = photoOwner;
	}

	public String getPhotoUrl() {
		return this.photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getPhotoAddress() {
		return this.photoAddress;
	}

	public void setPhotoAddress(String photoAddress) {
		this.photoAddress = photoAddress;
	}

	public Date getPhotoDate() {
		return this.photoDate;
	}

	public void setPhotoDate(Date photoDate) {
		this.photoDate = photoDate;
	}

	public Integer getPhotoNegativeCom() {
		return this.photoNegativeCom;
	}

	public void setPhotoNegativeCom(Integer photoNegativeCom) {
		this.photoNegativeCom = photoNegativeCom;
	}

	public Integer getPhotoActiveCom() {
		return this.photoActiveCom;
	}

	public void setPhotoActiveCom(Integer photoActiveCom) {
		this.photoActiveCom = photoActiveCom;
	}

}